package ruletree.rule;

import java.util.ArrayList;

public class RuleList {

	private String POS;
	private ArrayList<Rule> ruleList;
	
	public RuleList(){
		ruleList = new ArrayList<>();
	}
	public RuleList(String pos){
		this.POS = pos;
		ruleList = new ArrayList<>();
	}
	
	public String getPOS() {
		return POS;
	}
	public ArrayList<Rule> getRuleList() {
		return ruleList;
	}
	public void setPOS(String pOS) {
		POS = pOS;
	}
	public void setRuleList(ArrayList<Rule> ruleList) {
		this.ruleList = ruleList;
	}
	
	public void addRule(Rule rule){
		ruleList.add(rule);
	}

}
